package com.ljb.utilslibrary.ossutils.listener;

import com.alibaba.sdk.android.oss.ClientException;
import com.alibaba.sdk.android.oss.ServiceException;
import com.alibaba.sdk.android.oss.model.DeleteObjectRequest;
import com.alibaba.sdk.android.oss.model.DeleteObjectResult;

/**
 * OSS删除文件的回调监听
 * Created by lijianbin on 2016/11/22.
 */
public interface DeleteCBListener {

    void onSuccess(DeleteObjectRequest request, DeleteObjectResult result);

    void onSuccess(DeleteObjectRequest request, ClientException clientExcepion, ServiceException serviceException);

}
